3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next |
QuickDraw 3D provides routines for creating and managing UNIX storage objects specified using a path name.
You need to link your application with the standard I/O library to use these functions.
You can use the Q3UnixPathStorage_New function to create a new UNIX storage object specified using a path name.
TQ3StorageObject Q3UnixPathStorage_New (const char *pathName);
The Q3UnixPathStorage_New function returns, as its function result, a new storage object associated with the file specified by the pathName parameter. The specified file is assumed to be closed. QuickDraw 3D opens the file (by calling fopen ) and, when the associated storage object is closed or disposed of, QuickDraw 3D closes the file (by calling fclose ). If Q3UnixPathStorage_New cannot create a new storage object, it returns the value NULL .
You can use the Q3UnixPathStorage_Get function to get information about a UNIX path name storage object.
TQ3Status Q3UnixPathStorage_Get (
TQ3StorageObject storage,
char *pathName);
You can use the Q3UnixPathStorage_Set function to set information about a UNIX path name storage object.
TQ3Status Q3UnixPathStorage_Set (
TQ3StorageObject storage,
const char *pathName);
The Q3UnixPathStorage_Set function sets the path name of the file associated with the UNIX path name storage object specified by the storage parameter to the string pointed to by the pathName parameter.
Previous | QD3D Book | Overview | Chapter Contents | Next |